home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: How to solve access exception during part close?
- Sent: 9/17/96 3:46 PM
- Received: 9/17/96 3:46 PM
- From: bobc@bcstec.ca.boeing.com (Bob Carpenter)
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- >
- > Do you get any kind of stack crawl?
- >
- No, only the "access exception" message.
-
- > FW_NEW handles exceptions during object construction (and some related
- > stuff). It doesn't make an object garbage-collectable or anything like
- > that. Therefore whether something is allocated with FW_NEW or ::new, you
- > still have to delete it (there is no FW_DELETE; regular delete suffices for
- > both). ODF handles this for window objects.
- >
- Thanks for the explanation.
-
- > >Any ideas on how I can solve this?
- >
- > Some people are distressed that I have to make this suggestion, but I've
- > found it to be extremely effective at times: use the debugging build of
- > OpenDoc and put the symbol files (on DR5) in the OpenDoc libraries folder,
- > and keep them open in the debugger. You'll get stack crawls going back
- > through OpenDoc when a crash occurs.
-
- I've decided to redo my project using the Form template, since it has
- many of the features (subviews, NewDocumentWindow, Resource Usage...)
- that I need. Starting with the Hello template was turning out to
- be a bit much. The one feature of "Hello" I need is the Drag&Drop of
- text display, so I'll probably have some problems with that.
-
- Thanks Mark. I'll probably have some questions next week on Drag&Drop.
-
-
- --
-
- --BobC
-
- Bob Carpenter
- Boeing Commercial Airplanes
- bob.carpenter@boeing.com